import React, { memo } from 'react'
import { useParams } from 'react-router-dom'

export default memo(function Songs() {
    // 获取参数
    const params = useParams();
    const cat = params.cat ? params.cat : "全部";
    return (
        <div>
            Songs - 参数 = {cat}
        </div>
    )
})
